package com.fqyd.campustransaction.mapper;

import com.fqyd.campustransaction.model.Type;
import com.fqyd.campustransaction.model.TypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TypeMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(TypeExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(TypeExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(String id);

    /**
     *
     * @mbggenerated
     */
    int insert(Type record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(Type record);

    /**
     *
     * @mbggenerated
     */
    List<Type> selectByExample(TypeExample example);

    /**
     *
     * @mbggenerated
     */
    Type selectByPrimaryKey(String id);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") Type record, @Param("example") TypeExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") Type record, @Param("example") TypeExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(Type record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(Type record);
}